package com.stylefeng.guns.modular.netcar.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

@Data
@TableName("vehicle_price_type")
 /**
 * 车型价格
 *
 * @author sasazaixian
 * @Date 2018-11-05 17:13
 * @TableField(exist = false) 实现属性与数据库字段不一一对应
 */
public class VehiclePriceType extends Model<VehiclePriceType> {
    private static final long serialVersionUID = 1L;
    /**
     * 主键id
     * 自动生成后修改成实际的主键 
     */
    @TableId(value = "vpt_id", type = IdType.UUID)
	@ApiModelProperty(value = "主键ID")
	private String vptId;     //主键ID
    @Override
    protected Serializable pkVal() {
        return this.vptId;
    }
    
    //扩展能查询字段
    @TableField(exist = false) 
    private String key ;
    //开始日期
    @TableField(exist = false)     
    private String sdate;
    //截止日期 
    @TableField(exist = false) 
	private String edate;
    //排序字段
    @TableField(exist = false) 
	private String  sortField ;
	//排序	
	@TableField(exist = false) 
	private String sortOrder;
	
    public void setKey(String key) {
		this.key = key;
	}
	public String getKey() {
		return key;
	}	
	public void setSortField(String sortField) {
		this.sortField = sortField;
	}
	public String getSortField() {
		return sortField;
	}
	public void setSortOrder(String sortOrder) {
		this.sortOrder = sortOrder;
	}
	public String getSortOrder() {
		return sortOrder;
	}
	public void setEdate(String edate) {
		this.edate = edate;
	}
	public String getEdate() {
		return edate;
	}
	public void setSdate(String sdate) {
		this.sdate = sdate;
	}
	public String getSdate() {
		return sdate;
	}	

    @ApiModelProperty(value = "编码")
    @TableField("vpt_code")
    private String vptCode;     //编码

    @ApiModelProperty(value = "名称")
    @TableField("vpt_name")
    private String vptName;     //名称

    @ApiModelProperty(value = "")
    @TableField("vpt_is_alived")
    private String vptIsAlived;     //

    @ApiModelProperty(value = "")
    @TableField("vpt_order")
    private Integer vptOrder;     //

    @ApiModelProperty(value = "创建人")
    @TableField("create_user")
    private String createUser;     //创建人

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;     //创建时间

    @ApiModelProperty(value = "更新人")
    @TableField("update_user")
    private String updateUser;     //更新人

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;     //更新时间

    @ApiModelProperty(value = "可以供座位数量")
    @TableField("cvp_seat_num")
    private Integer cvpSeatNum;     //可以供座位数量

    public String getVptId(){
        return vptId;
    }
    public void setVptId(String vptId){
        this.vptId=vptId;
    }
    public String getVptCode(){
        return vptCode;
    }
    public void setVptCode(String vptCode){
        this.vptCode=vptCode;
    }
    public String getVptName(){
        return vptName;
    }
    public void setVptName(String vptName){
        this.vptName=vptName;
    }
    public String getVptIsAlived(){
        return vptIsAlived;
    }
    public void setVptIsAlived(String vptIsAlived){
        this.vptIsAlived=vptIsAlived;
    }
    public Integer getVptOrder(){
        return vptOrder;
    }
    public void setVptOrder(Integer vptOrder){
        this.vptOrder=vptOrder;
    }
    public String getCreateUser(){
        return createUser;
    }
    public void setCreateUser(String createUser){
        this.createUser=createUser;
    }
    public Date getCreateTime(){
        return createTime;
    }
    public void setCreateTime(Date createTime){
        this.createTime=createTime;
    }
    public String getUpdateUser(){
        return updateUser;
    }
    public void setUpdateUser(String updateUser){
        this.updateUser=updateUser;
    }
    public Date getUpdateTime(){
        return updateTime;
    }
    public void setUpdateTime(Date updateTime){
        this.updateTime=updateTime;
    }
    public Integer getCvpSeatNum(){
        return cvpSeatNum;
    }
    public void setCvpSeatNum(Integer cvpSeatNum){
        this.cvpSeatNum=cvpSeatNum;
    }

}
